module Base
{
	model UHheliblade1
	{
		mesh = vehicles/UHblade_1,
		texture = Vehicles/Vehicle_Blades,
		scale = 0.05,
		shader = vehiclewheel,
	}
	model UHheliblade2
	{
		mesh = vehicles/UHblade_2,
		texture = Vehicles/Vehicle_Blades,
		scale = 0.05,
		shader = vehiclewheel,
	}
	model UHheliblade3
	{
		mesh = vehicles/UHblade_3,
		texture = Vehicles/Vehicle_Blades,
		scale = 0.05,
		shader = vehiclewheel,
	}
	model UHheliblade4
	{
		mesh = vehicles/UHblade_4,
		texture = Vehicles/Vehicle_Blades,
		scale = 0.05,
		shader = vehiclewheel,
	}
	model UHheliblade5
	{
		mesh = vehicles/UHblade_5,
		texture = Vehicles/Vehicle_Blades,
		scale = 0.05,
		shader = vehiclewheel,
	}
	model UHheliblade6
	{
		mesh = vehicles/UHblade_6,
		texture = Vehicles/Vehicle_Blades,
		scale = 0.05,
		shader = vehiclewheel,
	}
	model UHheliblade7
	{
		mesh = vehicles/UHblade_7,
		texture = Vehicles/Vehicle_Blades,
		scale = 0.05,
		shader = vehiclewheel,
	}
	model UHheliblade8
	{
		mesh = vehicles/UHblade_8,
		texture = Vehicles/Vehicle_Blades,
		scale = 0.05,
		shader = vehiclewheel,
	}
	model UHheliblade1Small
	{
		mesh = vehicles/UHblade_1_small,
		texture = Vehicles/Vehicle_Blades,
		scale = 0.045,
		shader = vehiclewheel,
	}
	model UHheliblade2Small
	{
		mesh = vehicles/UHblade_2_small,
		texture = Vehicles/Vehicle_Blades,
		scale = 0.045,
		shader = vehiclewheel,
	}
	model UHheliblade3Small
	{
		mesh = vehicles/UHblade_3_small,
		texture = Vehicles/Vehicle_Blades,
		scale = 0.045,
		shader = vehiclewheel,
	}
	model UHheliblade4Small
	{
		mesh = vehicles/UHblade_4_small,
		texture = Vehicles/Vehicle_Blades,
		scale = 0.045,
		shader = vehiclewheel,
	}
	model UH_helicopter
	{
		mesh = vehicles/Vehicle_UH60RS,
		shader = vehicle,
		static = TRUE,
		scale = 0.05,
	}
	vehicle UHelicopter
	{
		mechanicType = 1,
		offRoadEfficiency = 10.2,
		engineRepairLevel = 8,
		playerDamageProtection = 1.2,

		model
		{
			file = UH_helicopter,
			scale = 0.1500,
			offset = 0.0000 3.5333 7.8667,
		}

		skin
		{
			texture = Vehicles/Vehicle_UH60Grey,
		}

		skin
		{
			texture = Vehicles/Vehicle_UH60WHITE,
		}

		skin
		{
			texture = Vehicles/Vehicle_UH60Green,
		}

		skin
		{
			texture = Vehicles/Vehicle_UH60Blue,
		}

		skin
		{
			texture = Vehicles/Vehicle_UH60BlackGReenWindow,
		}

		skin
		{
			texture = Vehicles/Vehicle_UH60BlackBlueWindow,
		}

		skin
		{
			texture = Vehicles/Vehicle_UH60Black,
		}

		skin
		{
			texture = Vehicles/Vehicle_UH60WhiteMed,
		}

		skin
		{
			texture = Vehicles/Vehicle_UH60GreenMed,
		}

		skin
		{
			texture = Vehicles/Vehicle_UH60USCoastGUard,
		}

		skin
		{
			texture = Vehicles/Vehicle_UH60FireDept,
		}

		skin
		{
			texture = Vehicles/Vehicle_UH60CamouflageSandMed,
		}

		skin
		{
			texture = Vehicles/Vehicle_UH60CamouflageForestMed,
		}

		skin
		{
			texture = Vehicles/Vehicle_UH60CamouflageSand,
		}

		skin
		{
			texture = Vehicles/Vehicle_UH60CamouflageForest,
		}

		textureRust = Vehicles/Vehicle_UH1Interior_rust,
		textureShadow = Shadows/vehicleShadowUH60,
		textureMask = Vehicles/Vehicle_UH60RS_mask,
		spawnOffsetY = 0.24999994,

		sound
		{
			horn = VehicleHorn,
			engine = HeliSilence,
			engineStart = HeliSilence,
		}

		extents = 17.2000 16.0000 75.4667,
		mass = 500,
		centerOfMassOffset = 0.0000 6.2000 -1.2667,
		shadowExtents = 73.7545 120.9242,
		shadowOffset = 0.0667 -0.0909,
		physicsChassisShape = 17.3333 15.0667 74.4000,
		engineForce = 16000,
		maxSpeed = 200f,
		engineLoudness = 100,
		engineQuality = 70,
		brakingForce = 50,
		stoppingMovementForce = 4.0f,
		rollInfluence = 1.0f,
		steeringIncrement = 0.04,
		steeringClamp = 0.3,
		suspensionStiffness = 20,
		suspensionCompression = 4.83,
		suspensionDamping = 3.88,
		maxSuspensionTravelCm = 14,
		suspensionRestLength = 0.20f,
		wheelFriction = 1.4f,
		frontEndHealth = 165,
		rearEndHealth = 130,
		seats = 6,
		template = PassengerSeat6,

		passenger FrontLeft
		{
			position inside
			{
				offset = 4.5333 -0.5333 16.8000,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = 5.0000 -0.6000 11.0000,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatFrontLeft,
			}
		}

		passenger FrontRight
		{
			position inside
			{
				offset = -4.6667 -1.1333 17.1333,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = -5.2000 -0.5333 11.1333,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatFrontRight,
			}
		}

		passenger RearLeft
		{
			position inside
			{
				offset = 4.8667 -0.6000 -2.1333,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = 6.3333 -0.5333 2.0000,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatRearLeft,
			}
		}

		passenger RearRight
		{
			position inside
			{
				offset = -4.6000 0.0000 -2.2000,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = -6.1333 -0.5333 1.6667,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatRearRight,
			}
		}

		passenger MiddleLeft
		{
			position inside
			{
				offset = 4.5333 -0.6667 8.1333,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = 6.3333 -0.5333 2.0000,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatMiddleLeft,
			}
		}

		passenger MiddleRight
		{
			position inside
			{
				offset = -4.6000 -0.7333 7.9333,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = -6.1333 -0.5333 1.6667,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatMiddleRight,
			}
		}

		area Engine
		{
			xywh = 0.0000 -3.4667 26.4000 12.2667,
		}

		area TruckBed
		{
			xywh = 0.0000 9.2667 31.6000 12.0000,
		}

		area SeatFrontLeft
		{
			xywh = 11.9333 24.8667 6.6667 5.3333,
		}

		area SeatFrontRight
		{
			xywh = -11.9333 24.9333 6.6667 5.6000,
		}

		area SeatRearLeft
		{
			xywh = 12.2000 9.2667 7.2000 12.0000,
		}

		area SeatRearRight
		{
			xywh = -12.2000 9.2667 7.2000 12.0000,
		}

		area SeatMiddleLeft
		{
			xywh = 12.2000 9.2667 7.2000 12.0000,
		}

		area SeatMiddleRight
		{
			xywh = -12.2000 9.2667 7.2000 12.0000,
		}

		area GasTank
		{
			xywh = 0.0000 -0.2667 30.8000 6.9333,
		}

		template = UH60_TrunkTemplate/part/UH60_TruckBedPart,
		template = Seat/part/SeatFrontLeft,
		template = Seat/part/SeatFrontRight,
		template = Seat/part/SeatRearLeft,
		template = Seat/part/SeatRearRight,
		template = Seat/part/SeatMiddleLeft,
		template = Seat/part/SeatMiddleRight,

		part Seat*
		{
			table install
			{
				skills = Mechanics:2,
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				skills = Mechanics:2,
				recipes = Intermediate Mechanics,
			}
		}

		part GloveBox
		{
			area = SeatFrontRight,
			itemType = Base.GloveBox,
			mechanicRequireKey = true,

			container
			{
				capacity = 7,
				test = Vehicles.ContainerAccess.GloveBox,
			}

			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		template = GasTank,

		part GasTank
		{
			container
			{
				conditionAffectsCapacity = false,
				capacity = 90,
			}

			install
			{
				skills = Mechanics:7,
				recipes = Intermediate Mechanics,
			}

			uninstall
			{
				skills = Mechanics:7,
				recipes = Intermediate Mechanics,
			}
		}

		template = Battery,
		template = Engine,
		template = Muffler,

		part Muffler
		{
			table install
			{
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				recipes = Intermediate Mechanics,
			}
		}

		template = EngineDoor,

		part EngineDoor
		{
			table install
			{
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				recipes = Intermediate Mechanics,
			}
		}

		part Heater
		{
			category = engine,

			lua
			{
				update = Vehicles.Update.Heater,
			}
		}

		part PassengerCompartment
		{
			category = nodisplay,

			lua
			{
				update = Vehicles.Update.PassengerCompartment,
			}
		}

		template = Windshield/part/Windshield,
		template = Windshield/part/WindshieldRear,

		part Windshield*
		{
			table install
			{
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				recipes = Intermediate Mechanics,
			}
		}

		template = Window/part/WindowFrontLeft,
		template = Window/part/WindowFrontRight,
		template = Brake/part/BrakeRearRight,

		part Brake*
		{
			table install
			{
				skills = Mechanics:6,
				recipes = Motorcycle Mechanics,
			}

			table uninstall
			{
				skills = Mechanics:6,
				recipes = Motorcycle Mechanics,
			}
		}

		part Window*
		{
			table install
			{
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				recipes = Intermediate Mechanics,
			}
		}

		template = Door/part/DoorFrontLeft,
		template = Door/part/DoorFrontRight,
		template = Door/part/DoorRearRight,
		template = Door/part/DoorRearLeft,

		part Door*
		{
			table install
			{
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				recipes = Intermediate Mechanics,
			}
		}

		template = Suspension,

		part Suspension*
		{
			table install
			{
				skills = Mechanics:6,
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				skills = Mechanics:6,
				recipes = Intermediate Mechanics,
			}
		}

		part UHheliblade
		{
			model UHblade1
			{
				file = UHheliblade1,
				offset = 0.0000 9.0000 1.5000,
			}

			model UHblade2
			{
				file = UHheliblade2,
				offset = 0.0000 9.0000 1.5000,
			}

			model UHblade3
			{
				file = UHheliblade3,
				offset = 0.0000 9.0000 1.5000,
			}

			model UHblade4
			{
				file = UHheliblade4,
				offset = 0.0000 9.0000 1.5000,
			}

			model UHblade5
			{
				file = UHheliblade5,
				offset = 0.0000 9.0000 1.5000,
			}

			model UHblade6
			{
				file = UHheliblade6,
				offset = 0.0000 9.0000 1.5000,
			}

			model UHblade7
			{
				file = UHheliblade7,
				offset = 0.0000 9.0000 1.5000,
			}

			model UHblade8
			{
				file = UHheliblade8,
				offset = 0.0000 9.0000 1.5000,
			}

			area = Engine,
			category = blade,
			specificItem = false,
			mechanicRequireKey = false,
			repairMechanic = true,

			lua
			{
				create = UHblade.Create.bladerBig,
				init = UHblade.Init.bladerBig,
			}
		}

		part UHhelibladeSmall
		{
			model UHblade1Small
			{
				file = UHheliblade1Small,
				offset = -1.8000 13.0000 -56.0000,
			}

			model UHblade2Small
			{
				file = UHheliblade2Small,
				offset = -1.8000 13.0000 -56.0000,
			}

			model UHblade3Small
			{
				file = UHheliblade3Small,
				offset = -1.8000 13.0000 -56.0000,
			}

			model UHblade4Small
			{
				file = UHheliblade4Small,
				offset = -1.8000 13.0000 -56.0000,
			}

			area = Engine,
			category = blade,
			mechanicRequireKey = false,
			repairMechanic = true,

			lua
			{
				create = UHblade.Create.bladerSmall,
				init = UHblade.Init.bladerSmall,
			}
		}

		template = Radio,
		template = Headlight,
	}
}
